Problem 21

Create an HTML page with a button. Write a JavaScript function that triggers a confirm box with the message "Do you want to submit the form?" If the user confirms, display an alert box with the message "Form submitted successfully!" Otherwise, display an alert box with the message "Form submission canceled."